#define _CRT_SECURE_NO_WARNINGS 1

#include "slist.h"

int main()
{
	SListNode*plist = CreatSListNode(5);
	SListNode* pos = SListFind(plist, 2);
	if (pos)
	{
		SListEraseAfter(pos);

	}
	SListPrint(plist);
	SListDestroy(plist);

	return 0;
}